<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <!--get提交默认拼接参数，用？号拼接，多个参数之间用&链接
     post提交不会拼接参数-->
   <h1>GET提交</h1>
   <form action="http://locahost:8080hello.html" method="get">
   用户名:<input type="text" name="user">
   密  码:<input type="password" name="pwd">
   <input type="sunbmit" value="提交">
   </form>
   <h1>POST提交</h1>
   <form action="http://locahost:8080hello.html" method="post">
       用户名:<input type="text" name="user">
       密  码:<input type="password" name="pwd">
       <input type="sunbmit" value="提交">
   </form>
</body>
</html>